package com.youxin.busfoundation.bean;

import java.io.Serializable;

import com.alibaba.fastjson.JSONObject;

/**
 * FileBeatBean内部引用,服务器信息
 * @author yingde.cao
 *
 */
public class BeatBean implements Serializable{
	
	private static final long serialVersionUID = 45757154675745L;

	private String hostname;
	private String name;
	private String version;
	
	public String getHostname() {
		return hostname;
	}

	public void setHostname(String hostname) {
		this.hostname = hostname;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getVersion() {
		return version;
	}

	public void setVersion(String version) {
		this.version = version;
	}

	@Override
	public String toString() {  
        return JSONObject.toJSONString(this);  
    }  
	
}
